package com.gdy.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@Slf4j
@RequestMapping("/admin/")
public class TestController {

    @RequestMapping("hello")
    @ResponseBody
    public String hello() {
        return "hello gdy";
    }

    @RequestMapping("user/hello")
    @ResponseBody
    public String hello1() {
        return "hello gdss";
    }

}
